package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.model.domain.UserInfo;

import java.util.List;
import java.util.Map;

public interface UserInfoApi {
    public void save(UserInfo userInfo);
    public void update(UserInfo userInfo);

   public  UserInfo findById(Long userId);

    Map<Long, UserInfo> findByIds(List<Long> userIds, UserInfo userInfo);

    IPage<UserInfo> findAllPage(Integer page, Integer pagesize);

}